package cn.daichi.elasticsearchdemo.config;

//@Configuration
//@EnableElasticsearchRepositories
public class ElasticsearchConfig {

//    @Bean
//    @Override
//    public RestHighLevelClient elasticsearchClient() {
//
//        final ClientConfiguration clientConfiguration = ClientConfiguration.builder()
//                .connectedTo("localhost:9200")
//                .build();
//
//        return RestClients.create(clientConfiguration).rest();
//    }
}
